<template>
  <div>
    <div v-if="show" v-for="item in list" :key="item.id">
      {{ item.text }}
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      show: true,
      list: [
        { id: 1, text: '示例项目1' },
        { id: 2, text: '示例项目2' },
        { id: 3, text: '示例项目3' }
      ]
    }
  }
}
</script>

<style scoped>

</style>
